Part Number Hot Search : 
121NQ A12HTB1 SDURB520 YS20E 10502 OP491GSZ PL001 C0491
Product Description
Full Text Search
 

To Download AD9888PCB Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. a information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. a ad9888 one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781/329-4700 www.analog.com fax: 781/326-8703 ? analog devices, inc., 2002 100/140/170/205 msps analog flat panel interface functional block diagram 2:1 mux a/d 8 8 8 r in r outa r in r outb 2:1 mux a/d 8 8 8 g in g outa g in g outb 2:1 mux a/d 8 8 8 b in b outa b in b outb 2:1 mux hsync hsync 2:1 mux vsync vsync 2:1 mux sogin sogin coast clamp ckinv ckext filt scl sda a0 ref bypass datack hsout vsout sogout serial register and power management ref sync processing and clock generation clamp clamp clamp ad9888 2 features 205 msps maximum conversion rate 500 mhz programmable analog bandwidth 0.5 v to 1.0 v analog input range less than 450 ps p-p pll clock jitter @ 205 msps 3.3 v power supply full sync processing sync detect for hot plugging 2:1 analog input mux 4:2:2 output format mode midscale clamping power-down mode low power: <1 w typical @ 205 msps applications rgb graphics processing lcd monitors and projectors plasma display panels scan converters microdisplays digital tv general description the ad9888 is a complete 8-bit, 205 msps monolithic analog interface optimized for capturing rgb graphics signals from personal computers and workstations. its 205 msps encode rate capability and full-power analog bandwidth of 500 mhz supports resolutions up to uxga (1600 1200 at 75 hz). for ease of design and to minimize cost, the ad9888 is a fully integrated interface solution for flat panel displays. the ad9888 includes an analog interface with a 205 mhz triple adc with internal 1.25 v reference, pll to generate a pixel clock from hsync and coast, midscale clamping, and programmable gain, offset, and clamp control. the user provides only a 3.3 v power supply, analog input, and hsync and coast signals. three-state cmos outputs may be powered from 2.5 v to 3.3 v. the ad9888s on-chip pll generates a pixel clock from hsync and coast inputs. pixel clock output frequencies range from 10 mhz to 205 mhz. pll clock jitter is less than 450 ps p-p typical at 205 msps. when the coast signal is presented, the pll maintains its output frequency in the absence of hsync. a sampling phase adjustment is provided. data, hsync, and clock output phase relationships are maintained. the pll can be disabled and an external clock input provided as the pixel clock. the ad9888 also offers full sync processing for compos- ite sync and sync-on-green applications. a clamp signal is generated internally or may be provided by the user through the clamp input pin. this interface is fully pro- grammable via a 2-wire serial interface. fabricated in an advanced cmos process, the ad9888 is pro- vided in a space-saving 128-lead mqfp surface mount plastic package and is specified over the 0 c to 70 c temperature range.
rev. a C2C ad9888?pecifications (v d = 3.3 v, v dd = 3.3 v, adc clock = maximum conversion rate) test ad9888ks-100/-140 1 ad9888ks-170 ad9888ks-205 parameter temp level min typ max min typ max min typ max unit resolution 8 8 8 bits dc accuracy differential nonlinearity 25 ci 0.5 +1.25/C1.0 0.6 +1.25/C1.0 0.8 +1.50/C1.0 lsb full vi +1.35/C1.0 +1.50/C1.0 +1.80/C1.0 lsb integral nonlinearity 25 ci 0.5 2.0 0.75 2.25 1.0 3.75 lsb full vi 2.5 2.75 4.25 lsb no missing codes 25 c i guaranteed guaranteed guaranteed analog input input voltage range minimum 25 c i 0.5 0.5 0.5 v p-p maximum 25 c i 1.0 1.0 1.0 v p-p gain tempco 25 c v 100 100 100 ppm/ c input bias current 25 civ 1 1 1 a full iv 2 2 2 a input capacitance full v 3 3 3 pf input resistance full iv 1 1 1 m ? input offset voltage full vi 7 90 7 90 7 90 mv input full-scale matching full vi 2.5 9.0 2.5 9.0 2.5 9.0 % fs offset adjustment range full vi 44 49 53 44 49 53 44 49 53 % fs reference output output voltage full vi 1.20 1.25 1.30 1.20 1.25 1.30 1.20 1.25 1.30 v temperature coefficient full v 50 50 50 ppm/ c switching performance maximum conversion rate full vi 100/140 170 205 msps minimum conversion rate full iv 10 10 10 msps data to clock skew full iv C1.25 +1.25 C1.25 +1.25 C1.25 +1.25 ns t buff 2 full vi 4.7 4.7 4.7 s t stah 2 full vi 4.0 4.0 4.0 s t dho 2 full vi 0 0 0 s t dal 2 full vi 4.7 4.7 4.7 s t dah 2 full vi 4.0 4.0 4.0 s t dsu 2 full vi 250 250 250 ns t stasu 2 full vi 4.7 4.7 4.7 s t stosu 2 full vi 4.0 4.0 4.0 s hsync input frequency full iv 15 110 15 110 15 110 khz maximum pll clock rate full vi 100/140 170 205 mhz minimum pll clock rate full iv 10 10 10 mhz pll jitter 25 c iv 470 700 3 450 700 4 440 700 4 ps p-p full iv 1000 3 1000 4 1000 4 ps p-p sampling phase tempco full iv 15 15 15 ps/ c digital inputs input voltage, high (v ih ) full vi 2.5 2.5 2.5 v input voltage, low (v il ) full vi 0.8 0.8 0.8 v input current, high (i ih ) full iv C1.0 C1.0 C1.0 a input current, low (i il ) full iv +1.0 +1.0 +1.0 a input capacitance 25 cv 3 3 3 pf digital outputs output voltage, high (v oh ) full vi v d C 0.1 v d C 0.1 v d C 0.1 v output voltage, low (v ol ) full vi 0.1 0 .1 0.1 v duty cycle datack, datack full iv 44 49 55 44 49 55 44 49 55 % output coding binary binary binary power supply v d supply voltage full iv 3.0 3.3 3.6 3.0 3.3 3.6 3.0 3.3 3.6 v v dd supply voltage full iv 2.2 3.3 3.6 2.2 3.3 3.6 2.2 3.3 3.6 v p vd supply voltage full iv 3.0 3.3 3.6 3.0 3.3 3.6 3.0 3.3 3.6 v i d supply current (v d )25 c v 200 215 230 ma i dd supply current (v dd ) 5 25 c v 50 55 60 ma ip vd supply current (p vd )25 cv 8 9 10 ma total power dissipation full vi 850 1050 920 1150 990 1250 mw power-down supply current full vi 12 20 12 20 12 20 ma power-down dissipation full vi 40 66 40 66 40 66 mw
rev. a C3C ad9888 test ad9888ks-100/-140 1 ad9888ks-170 ad9888ks-205 parameter temp level min typ max min typ max min typ max unit dynamic performance analog bandwidth, full power 6 25 c v 500 500 500 mhz transient response 25 cv 2 2 2 ns overvoltage recovery time 25 c v 1.5 1.5 1.5 ns signal-to-noise ratio (snr) 7 25 civ4245 4144 4042 db (without harmonics) full v 44 43 41 db f in = 40.7 mhz crosstalk full v 50 50 50 dbc thermal characteristics jc Cjunction-to-case v 8.4 8.4 8.4 c/w thermal resistance ja Cjunction-to-ambient v 35 35 35 c/w thermal resistance notes 1 ad9888ks-100 specifications are tested at 100 mhz. ad9888ks-140 specifications are tested at 140 mhz. 2 see figure 23. 3 vco range = 10, charge pump current = 100, pll divider = 1693. 4 vco range = 11, charge pump current = 100, pll divider = 2159. 5 demux = 1, datack and datack load = 15 pf, data load = 5 pf. 6 maximum bandwidth setting. bandwidth can also be programmed to 300 mhz, 150 mhz, and 75 mhz. 7 using external pixel clock. specifications subject to change without notice. explanation of test levels test level i. 100% production tested. ii. 100% production tested at 25 c and sample tested at specified temperatures. iii. sample tested only. iv. parameter is guaranteed by design and characterization testing. v. parameter is a typical value only. vi. 100% production tested at 25 c; guaranteed by design and characterization testing. absolute maximum ratings * v d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 v v dd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 v analog inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . v d to 0.0 v vref in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v d to 0.0 v digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 v to 0.0 v digital output current . . . . . . . . . . . . . . . . . . . . . . . . . 20 ma operating temperature . . . . . . . . . . . . . . . . . C25 c to +85 c storage temperature . . . . . . . . . . . . . . . . . . C65 c to +150 c maximum junction temperature . . . . . . . . . . . . . . . . . 150 c maximum case temperature . . . . . . . . . . . . . . . . . . . . 150 c * stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any other conditions outside of those indicated in the operation sections of this specification is not implied. exposure to absolute maximum ratings for extended periods may affect device reliability. warning! esd sensitive device caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the ad9888 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. ordering guide temperature package model range option ad9888ks-100 0 c to 70 c s-128a ad9888ks-140 0 c to 70 c s-128a ad9888ks-170 0 c to 70 c s-128a ad9888ks-205 0 c to 70 c s-128a ad9888/pcb 25 c evaluation board
rev. a ad9888 C4C pin configuration 92 93 95 90 91 88 89 87 96 86 94 81 82 83 84 79 80 78 76 77 85 75 73 74 71 72 69 70 67 68 66 65 98 99 101 97 102 10 0 41 42 43 44 46 47 48 49 39 45 40 62 61 60 64 63 59 55 50 51 52 53 54 56 57 58 11 10 16 15 14 13 18 17 20 19 22 21 12 24 23 26 25 28 27 30 29 32 31 5 4 3 2 7 6 9 8 1 34 33 36 35 38 37 120 121 122 123 124 125 126 127 128 119 111 118 117 116 115 114 113 112 110 109 108 107 106 105 104 103 pin 1 identifier top view (not to scale) vsout sogout hsout datackb datack v dd gnd gnd gnd v dd gnd gnd gnd gnd v dd gnd d g a 0 filt d g a 1 d g a 2 d g a 3 coast d g a 4 ckext d g a 5 gnd d g a 6 v dd d g a 7 d g b 7 v dd gnd d b a 0 d b a 1 d b a 2 d b a 3 d b a 4 v d ref bypass gnd gnd r ain 0 v d v d r ain 1 rmidscv v d gnd sogin0 g ain 0 v d gnd sogin1 g ain 1 v d gnd b ain 0 v d gnd b ain 1 bmidscv v d v d gnd gnd ckinv clamp sda scl d b a 5 d b a 6 v dd gnd d g b 0 d g b 1 d g b 2 d g b 3 d g b 4 d g b 5 d g b 6 ad9888 a0 v d gnd gnd v pv d d d d b a 7 v dd pv d pv d pv d pv gnd gnd gnd gnd d r a 0 d r a 1 d r a 2 d r a 3 d r a 4 d r a 5 d r a 6 d r a 7 v dd d r b 0 d r b 1 gnd vsync1 hsync1 vsync0 hsync0 gnd d b b 7 d b b 6 d b b 5 d b b 4 d b b 3 d b b 2 d b b 1 d b b 0 d r b 2 d r b 3 d r b 4 d r b 5 d r b 6 d r b 7 gnd
rev. a ad9888 C5C table i. complete pinout list pin pin type mnemonic function value number analog video inputs r ain 0 channel 0 analog input for converter r 0.0 v to 1.0 v 5 g ain 0 channel 0 analog input for converter g 0.0 v to 1.0 v 13 b ain 0 channel 0 analog input for converter b 0.0 v to 1.0 v 20 r ain 1 channel 1 analog input for converter r 0.0 v to 1.0 v 8 g ain 1 channel 1 analog input for converter g 0.0 v to 1.0 v 17 b ain 1 channel 1 analog input for converter b 0.0 v to 1.0 v 23 sync/clock inputs hsync0 channel 0 horizontal sync input 3.3 v cmos 45 vsync0 channel 0 vertical sync input 3.3 v cmos 44 sogin0 channel 0 input for sync-on-green 0.0 v to 1.0 v 12 hsync1 channel 1 horizontal sync input 3.3 v cmos 43 vsync1 channel 1 vertical sync input 3.3 v cmos 42 sogin1 channel 1 input for sync-on-green 0.0 v to 1.0 v 16 clamp clamp input (external clamp signal) 3.3 v cmos 30 coast pll coast signal input 3.3 v cmos 53 ckext external pixel clock input (to bypass the pll) or 10 k ? to ground 3.3 v cmos 54 ckinv adc sampling clock invert 3.3 v cmos 29 sync outputs hsout hsync output clock (phase-aligned with datack) 3.3 v cmos 125 vsout vsync output clock (phase-aligned with datack) 3.3 v cmos 127 sogout sync-on-green slicer output 3.3 v cmos 126 voltage ref bypass internal reference bypass (bypass with 0.1 f to ground) 1.25 v 10% 2 clamp voltages r midsc v red channel midscale clamp voltage bypass 9 b midsc v blue channel midscale clamp voltage bypass 24 pll filter filt connection for external filter components for internal pll 50 power supply v d analog power supply 3.3 v 10% v dd output power supply 3.3 v 10% pv d pll power supply 3.3 v 10% gnd ground 0 v serial port sda serial port data i/o 3.3 v cmos 31 (2-wire scl serial port data clock 3.3 v cmos 32 serial interface) a0 serial port address input 1 3.3 v cmos 33 data outputs red a[7:0] port a outputs of converter red, bit 7 is the msb. 3.3 v cmos 113C120 red b[7:0] port b outputs of converter red, bit 7 is the msb. 3.3 v cmos 103C110 green a[7:0] port a outputs of converter green, bit 7 is the msb. 3.3 v cmos 90C97 green b[7:0] port b outputs of converter green, bit 7 is the msb. 3.3 v cmos 80C87 blue a[7:0] port a outputs of converter blue, bit 7 is the msb. 3.3 v cmos 70C77 blue b[7:0] port b outputs of converter blue, bit 7 is the msb. 3.3 v cmos 57C64 data clock datack data output clock 3.3 v cmos 123 output datack data output clock complement 3.3 v cmos 124
rev. a ad9888 C6C pin function descriptions pin description inputs r ain 0 channel 0 analog input for red g ain 0 channel 0 analog input for green b ain 0 channel 0 analog input for blue r ain 1 channel 1 analog input for red g ain 1 channel 1 analog input for green b ain 1 channel 1 analog input for blue high-impedance inputs that accept the red, green, and blue channel graphics signals, respectively. (the six channels are identical and can be used for any colors; colors are assigned for convenient reference.) they accommodate input signals ranging from 0.5 v to 1.0 v full scale. signals should be ac-coupled to these pins to support clamp operation. hsync0 channel 0 horizontal sync input hsync1 channel 1 horizontal sync input these inputs receive a logic signal that estab lishes the horizontal timing reference and provides the frequency reference for pixel clock generation. the logic sense of this pin is controlled by serial register 0eh bit 6 (hsync polarity). only the leading edge of hsync is used by the pll. the trailing edge is used for clamp timing only. when hspol = 0, the falling edge of hsync is used. when hspol = 1, the rising edge is active. the input includes a schmitt trigger for noise immunity, with a nominal input threshold of 1.5 v. vsync0 channel 0 vertical sync input vsync1 channel 1 vertical sync input these are the inputs for vertical sync. sogin0 channel 0 sync-on-green input sogin1 channel 1 sync-on-green input this input is provided to assist with processing signals with embedded sync, typically on the green channel. the pin is connected to a high-speed comparator with an internally generated, variable threshold level, which is nominally set to 0.15 v above the negative peak of the input signal. when connected to an ac-coupled graphics signal with embedded sync, it will produce a noninverting digital output on sogout. (this is usually a composite sync signal, con taining both vertical and horizontal sync inf ormation.) when not used, this input should be left unconnected. for more details on this function and how it should be config- ured, refer to the sync-on-green section. clamp external clamp input this logic input may be used to define the time during which the input signal is clamped to the reference dc level (ground for rgb or midscale for yuv). it should be exercised when the reference dc level is known to be present on the analog input channels, typically during the back porch of the graphics signal. the clamp pin is enabled by setting the external clamp control (register 0fh, bit 7) to 1 (default is 0). when disabled, this pin is ignored and the clamp timing is determined internally by counting a delay and duration from the trailing edge of the hsync input. the logic sense of this pin is controlled by the clamp polarity control (register 0fh, bit 6). when not used, this pin must be grounded and external clamp programmed to 0. coast clock generator coast input (optional) this input may be used to cause the pixel clock generator to stop synchronizing with hsync and continue producing a clock at its current frequency and phase. this is useful when processing signals from sources that fail to produce horizontal sync pulses when in the vertical interval or that include equalization pul ses. the coast signal is usually not required for pc-generated signals. the logic sense of this pin is controlled by 0fh bit 3 (coast polarity). when not used, this pin may be grounded and coast polarity programmed to 1, or tied high (to v d through a 10 k ? resistor) and coast p olarity programmed to 0. the coast polarity register bit defaults to 1 at power-up. ckext external clock input (optional) this pin may be used to provide an external clock to the ad9888, in place of the clock internally generated from hsync. it is enabled by programming the external clock register to 1 (15h, bit 0). when an external clock is used, all other internal functions operate normally. when unused, this pin should be tied through a 10 k ? resistor to ground, and the external clock register programmed to 0. the clock phase adjustment still operates when an external clock source is used.
rev. a ad9888 C7C pin function descriptions (continued) pin description ckinv sampling clock inversion (optional) this pin may be used to invert the pixel sampling clock, which has the effect of shifting the sampling phase 180 . this is in support of alternate pixel sampling mode, wherein higher-frequency input signals (up to 410 mpps) may be captured by first sampling the odd pixels, then capturing the even pixels on the subsequent frame. this pin should be exercised only during blanking intervals (typically vertical blanking) as it may produce several samples of corrupted data during the phase shift. ckinv should be grounded when not used. outputs d r a 7-0 data output, red channel, port a d r b 7-0 data output, red channel, port b d g a 7-0 data output, green channel, port a d g b 7-0 data output, green channel, port b d b a 7-0 data output, blue channel, port a d b b 7-0 data output, blue channel, port b these are the main data outputs. bit 7 is the msb. each channel has two ports. when the part is operated in single-channel mode (channel mode bit (15h, bit 7) = 0), all data are presented to port a, and port b is placed in a high-impedance state. programming the channel mode bit to 1 establishes dual-channel mode, wherein alternate pixels are presented to port a and port b of each channel. these will appear simultaneously; two pixels are presented at the time of every second input pixel, when the output mode bit (15h, bit 6) is set to 1 (parallel mode). when the output mode bit is set to 0, pixel data appear alternately on the two ports, one new sample with each incoming pixel (interleaved mode). in dual-channel mode, the first pixel after hsync is routed to port a. the second pixel goes to port b, the third to a, etc. this can be reversed by setting the a/b invert bit to 1 (15h, bit 5). the delay from pixel sampling time to output is fixed. when the sampling time is changed by adju sting the phase regis- ter, the output timing is sh ifted as well. the datack, datack and hsout outputs are also moved, so the timing relationship among the signals is maintained. datack data output clock datack data output clock complement differential data clock output signals to be used to strobe the output data and hsout into external logic. they are produced by the internal clock generator and are synchronous with the internal pixel sampling clock. when the ad9888 is operated in single-channel mode, the output frequency is equal to the pixel sampling frequency. when operating in dual-channel mode, the clock frequency is one-h alf the pixel frequency, as is the output data fre quency. when the sampling time is changed by adjusting the phase register, the output timing is shifted as well. the data, datack, datack and hsout outputs are all moved, so the timing relationship among the signals is maintained. either or both signals may be used, depending on the timing mode and interface design employed. hsout horizontal sync output a reconstructed and phase-aligned version of the hsync input. both the polarity and duration of this output can be programmed via serial bus registers. by maintaining alignment with datack, datack , and data, data timing with respect to horizontal sync can always be determined. sogout sync-on-green slicer output this pin can be programmed to output either the output from the sync-on-green slicer comparator or an unproc- essed but delayed version of the hsync input. see the sync processing block diagram (figure 25) to view how this pin is connected. (note: besides slicing off sog, the output from this pin gets no other additional processing on the ad9888. vsync separation is performed via the sync separator.) ref bypass internal reference bypass bypass for the internal 1.25 v band gap referen ce. it should be connected to ground through a 0.1 f capacitor. the abso- lute accuracy of this reference is 4%, and the temperature coefficient is 50 ppm, which is adequate for most ad9888 applications. if higher accuracy is required, an external reference may be employed instead. rmidscv red channel midscale voltage bypass bmidscv blue channel midscale voltage bypass bypasses for the internal midscale voltage references. they should each be connected to ground through 0.1 f capacitors. the exact voltage varies with the gain setting of the blue channel.
rev. a ad9888 C8C pin function descriptions (continued) pin description filt external filter connection for proper operation, the pixel clock generator pll requires an external filter. connect the filter shown in figure 6 to this pin. for optimal performance, minimize noise and parasitics on this node. power supply v d main power supply these pins supply power to the main elements of the circuit. it should be as quiet and filtered as possible. v dd digital output power supply a large number of output pins (up to 52) switching at high speed (up to 110 mhz) generates a lot of power supply transients (noise). these supply pins are identified separately from the v d pins, so special care can be taken to mini- mize output noise transferred into the sensitive analog circuitry. if the ad9888 is interfacing with lower voltage logic, v dd may be connected to a lower supply voltage (as low as 2.5 v) for compatibility. pv d clock generator power supply the most sensitive portion of the ad9888 is the clock generation circuitry. these pins provide power to the clock pll and help the user design for optimal performance. the designer should provide quiet, noise-free power to these pins. gnd ground the ground return for all circuitry on chip. it is recommended that the ad9888 be assembled on a single solid ground plane, with careful attention to ground current paths. serial port (2-wire) sda serial port data i/o scl iserial port data clock a0 serial port address input 1 for a full description of the 2-wire serial register and how it works, refer to the control register section. design guide general description the ad9888 is a fully integrated solution for capturing analog rgb signals and digitizing them for display on flat panel monitors or projectors. the circuit is ideal for providing a computer inter- face for hdtv monitors or as the front-end to high-performance video scan converters. implemented in a high-performance cmos process, the inter- face can capture signals with pixel rates of up to 205 mhz, and with an alternate pixel sampling mode, up to 340 mhz. the ad9888 includes all necessary input buffering, signal dc restoration (clamping), offset and gain (brightness and contrast) adjustment, pixel clock generation, sampling phase control, and output data formatting. all controls are programmable via a 2-wire serial interface. full integration of these sensitive analog functions makes system design straightforward and less sensitive to the physical and electrical environment. with a typical power dissipation of only 650 mw and an operat- ing temperature range of 0 c to 70 c, the device requires no special environmental considerations. input signal handling the ad9888 has six high-impedance analog input pins for the red, green, and blue channels. they will accommodate signals ranging from 0.5 v to 1.0 v p-p. signals are typically brought o nto the interface board via a dvi-i connector, a 15-pin d connector, or via bnc connectors. the ad9888 should be located as close as practical to the input connector. signals should be routed via matched-impedance traces (normally 75 ? ) to the ic input pins. at that point, the signal should be resistively terminated (to the signal ground return) and capacitively coupled to the ad9888 inputs through 47 nf capacitors. these capacitors form part of the dc restoration circuit. in an ideal world of perfectly matched impedances, the best performance can be obtained with the widest possible signal bandwidth. the ultrawide bandwidth inputs of the ad9888 (500 mhz) can track the input signal continuously as it moves from one pixel level to the next, and digitize the pixel during a long, flat pixel time. in many systems, however, there are mismatches, reflections, and noise, which can result in excessive ringing and distortion of the input waveform. this makes it more difficult to establish a sampling phase that provides good image quality. the ad9888 can digitize graphics signals over a very wide range of frequencies (10 mhz to 205 mhz). often characteristics that are beneficial at one frequency can be detri- mental at another. analog bandwidth is one such characteristic. for uxga resolutions (up to 205 mhz), a very high analog bandwidth is desirable because of the fast input signal slew rates. for vga and lower resolutions (down to 12.5 mhz), a very high bandwidth is not desirable, because it allows excess noise to pass through. to accommodate these varying needs, the ad9888 includes variable analog bandwidth control. four settings are available (75 mhz, 150 mhz, 300 mhz, and 500 mhz), allowing the analog bandwidth to be matched with the resolution of the incoming graphics signal. r ain g ain b ain 75  rgb input 47nf figure 1. analog input interface circuit
rev. a ad9888 C9C sync processing the ad9888 contains circuitry that enables it to accept com- posite sync inputs, such as sync-on-green or the trilevel syncs found in digital tv signals. a complete description of the sync processing functionality is found in the sync slicer and sync separator sections. hsync, vsync inputs the interface also takes a horizontal sync signal, which is used to generate the pixel clock and clamp timing. it is possible to operate the ad9888 without applying hsync (using an external clock, external clamp, and single port output mode) but a number of features of the chip will be unavailable, so it is recommended that hsync be provided. this can be either a sync signal directly from the graphics source, or a preprocessed ttl or cmos level signal. the hsync input includes a schmitt trigger buffer for immunity to noise and signals with long rise times. in typical pc-based graphic systems, the sync signals are simply ttl-level drivers feeding unshielded wires in the monitor cable. as such, no ter- mination is required or desired. serial control port the serial control port is designed for 3.3 v logic. if there are 5 v drivers on the bus, these pins should be protected with 150 ? series resistors placed between the pull-up resistors and the input pins. output signal handling the digital outputs are designed and specified to operate from a 3.3 v power supply (v dd ). they can also work with a v dd as low as 2.5 v for compatibility with other 2.5 v logic. clamping rgb clamping to digitize the incoming signal properly, the dc offset of the input must be adjusted to fit the range of the on-board a/d converters. most graphics systems produce rgb signals with black at ground and white at approximately 0.75 v. however, if sync signals are embedded in the graphics, the sync tip is often at ground and black is at 300 mv. then white is at approximately 1.0 v. some common rgb line amplifier boxes use emitter-follower buffers to split signals and increase drive capability. this introduces a 700 mv dc offset to the signal, which must be removed for proper capture by the ad9888. the key to clamping is to identify a portion (time) of the signal when the graphic system is known to be producing black. an offset is then introduced which results in the a/d converters producing a black output (code 00h) when the known black input is present. the offset then remains in place when other signal levels are processed, and the entire signal is shifted to eliminate offset errors. in most graphics systems, black is transmitted between active video lines. going back to crt displays, when the electron beam has completed writing a horizontal line on the screen (at the right side), the beam is deflected quickly to the left side of the screen (called horizontal retrace) and a black signal is provided to prevent the beam from disturbing the image. in systems with embedded sync, a blacker-than-black signal (hsync) is produced briefly to signal the crt that it is time to begin a retrace. for obvious reasons, it is important to avoid clamping on the tip of hsync. fortunately, there is almost always a period following hsync called the back porch where a good black reference is provided. this is the time when clamping should be done. the clamp timing can be established by simply exercising the clamp pin at the appropriate time (with external clamp = 1). the polarity of this signal is set by the clamp polarity (register 0fh, bit 6). a simpler method of clamp timing employs the ad9888 inter- nal clamp timing generator. the clamp placement register is programmed with the number of pixel times that should pass after the trailing edge of hsync before clamping starts. a second register (clamp duration, register 06h) sets the duration of the clamp. these are both 8-bit values, providing considerable flexibility in clamp generation. the clamp timing is referenced to the trailing edge of hsync because, though hsync duration can vary widely, the back porch (black reference) always follows hsync. a good starting point for establishing clamping is to set the clamp placement to 08h (providing 8 pixel periods for the graphics signal to stabilize after sync) and set the clamp dura- tion to 14h (giving the clamp 20 pixel periods to reestablish the black reference). clamping is accomplished by placing an appropriate charge on the external input coupling capacitor. the value of this capacitor affects the performance of the clamp. if it is too small, there will be a significant amplitude change during a horizontal line time (between clamping intervals). if the capacitor is too large, then it will take excessively long for the clamp to recover from a large change in incoming signal offset. the recommended value (47 nf) results in recovering from a step error of 100 mv to within 1/2 lsb in 10 lines with a clamp duration of 20 pixel periods on a 60 hz sxga signal. yuv clamping yuv graphic signals are slightly different from rgb signals in that the dc reference level (black level in rgb signals) can be at the midpoint of the video signal rather than the bottom. for these signals it can be necessary to clamp to the midscale range of the a/d converter range (80h) rather than bottom of the a/d converter range (00h). clamping to midscale rather than ground can be accomplished by setting the clamp select bits in the series bus register. the red and blue channels each have their own selection bit so that they can be clamped to either midscale or ground independently. the clamp controls are located in register 10h and are bits 1 and 2. the midscale reference voltage that each a/d converter clamps to is provided independently on the rmidscv and bmidscv pins. these two pins should be bypassed to ground with a 0.1 f capacitor (even if midscale clamping is not required). gain and offset control the ad9888 can accommodate input signals with inputs ranging from 0.5 v to 1.0 v full scale. the full-scale range is set in three 8-bit registers (red gain, green gain, and blue gain; registers 08h, 09h, and 10h respectively). note that increasing the gain setting results in an image with less contrast. the offset control shifts the entire input range, resulting in a change in image brightness. three 7-bit registers (red offset, green offset, blue offset; registers 0bh, 0ch, and 0dh respec- tively) provide independent settings for each channel.
rev. a ad9888 C10C the offset controls provide a 63 lsb adjustment range. this range is connected with the full-scale range, so if the input range is doubled (from 0.5 v to 1.0 v), the offset step size is also doubled (from 2 mv per step to 4 mv per step). figure 2 illustrates the interaction of gain and offset controls. the magnitude of an lsb in offset adjustment is proportional to the full-scale range, so changing the full-scale range also changes the offset. the change is minimal if the offset setting is near midscale. when changing the offset, the full-scale range is not affected, but the full-scale level is shifted by the same amount as the zero-scale level. gain 1.0 0.0 00h ffh input range ?v 0.5 offset = 00h offset = 3fh offset = 7fh offset = 00h offset = 7fh offset = 3fh figure 2. gain and offset control sync-on-green the sync-on-green input operates in two steps. first, it sets a baseline clamp level off of the incoming video signal with a negative peak detector. second, it sets the sync trigger level (nominally 150 mv above the negative peak). the exact trigger level is variable and can be programmed via register 11h. the sync-on-green input must be ac-coupled to the green analog input through its own capacitor as shown in figure 3. the value of the capacitor must be 1 nf 20%. if sync-on-green is not used, this connection is not required and the sogin pin should be left unconnected. (note: the sync-on-green signal is always negative polarity.) for more details, see the sync processing section. r ain b ain g ain sog 47nf 47nf 47nf 1nf figure 3. typical clamp configuration for rgb/yuv applications clock generation a phase locked loop (pll) is employed to generate the pixel clock. the hsync input provides a reference frequency to the pll. a voltage controlled oscillator (vco) generates a much higher pixel clock frequency. this pixel clock is divided by the pll divide value (registers 01h and 02h) and phase compared with the hsync input. any error is used to shift the vco frequency and maintain lock between the two signals. the stability of this clock is a very important element in provid- ing the clearest and most stable image. during each pixel time, there is a period during which the signal is slewing from the old pixel amplitude and settling at its new value. then there is a time when the input voltage is stable, before the signal must slew to a new value (figure 4). the ratio of the slewing time to the stable time is a function of the bandwidth of the graphics dac and the bandwidth of the transmission system (cable and termination). it is also a function of the overall pixel rate. clearly, if the dynamic characteristics of the system remain fixed, then the slewing and settling time is likewise fixed. this time must be subtracted from the total pixel period, leaving the stable period. at higher pixel frequencies, the total cycle time is shorter, and the stable pixel time becomes shorter as well. pixel clock invalid sample times figure 4. pixel sampling times any jitter in the clock reduces the precision with which the sampling time can be determined, and must also be subtracted from the stable pixel time. considerable care has been taken in the design of the ad9888s clock generation circuit to minimize jitter. as indicated in fig- ure 5, the clock jitter of the ad9888 is less than 9% of the total pixel time in all operating modes, making the reduction in the valid sampling time due to jitter negligible. pixel clock mhz 0 25.2 31.5 31.5 36.0 36.0 40.0 50.0 49.5 56.3 65.0 75.0 78.8 85.5 94.5 108.0 135.0 160.0 162.0 175.5 189.0 202.5 jitter (p-p) % 2 4 6 8 10 12 14 figure 5. pixel clock jitter vs. frequency the pll characteristics are determined by the loop filter design, by the pll charge pump current and by the vco range setting. the loop filter design is illustrated in figure 6. recommended settings of vco range and charge pump current for vesa standard display modes are listed in table iv.
rev. a ad9888 C11C c p 0.0039  f c z 0.039  f filt r z 3.3k  pv d figure 6. pll loop filter detail four programmable registers are provided to optimize the per- formance of the pll. these registers are: 1. the 12-bit divisor registers. the input hsync frequencies range from 15 khz to 110 khz. the pll multiplies the frequency of the hsync signal, producing pixel clock fre- quencies in the range of 10 mhz to 205 mhz. the divisor register controls the exact multiplication factor. this regis- ter may be set to any value between 221 and 4095. (the divide ratio that is actually used is the programmed divide ratio plus one.) 2. the 2-bit vco range register. to lower the sensitivity of the output frequency to noise on the control signal, the vco operating frequency range is divided into four overlapping regions. the vco range register sets this operating range. because there are only four possible regions, only the two least significant bits of the vco range register are used. the frequency ranges for the lowest and highest regions are shown in table ii. 3. the 3-bit charge pump current register. this register allows the current that drives the low-pass loop filter to be varied. the possible current values are listed in table iii. table ii. vco frequency ranges pixel clock range k vco gain pv1 pv0 (mhz) (mhz/v) 0 0 10C45 22.5 0 1 45C90 45 1 0 90C150 90 1 1 150+ 180 table iii. charge pump current/control bits ip2 ip1 ip0 current (  a) 00050 001100 010150 011250 100350 101500 110750 1 1 1 1500 table iv. recommended vco range and charge pump current settings for standard display formats refresh horizontal standard resolution rate (hz) frequency (khz) pixel rate (mhz) vcornge current vga 640 480 60 31.5 25.175 00 010 72 37.7 31.500 00 100 75 37.5 31.500 00 100 85 43.3 36.000 00 100 svga 800 600 56 35.1 36.000 00 100 60 37.9 40.000 00 101 72 48.1 50.000 01 011 75 46.9 49.500 01 011 85 53.7 56.250 01 011 xga 1024 768 60 48.4 65.000 01 100 70 56.5 75.000 01 100 75 60.0 78.750 01 101 80 64.0 85.500 01 101 85 68.3 94.500 10 011 sxga 1280 1024 60 64.0 108.000 10 011 75 80.0 135.000 10 100 85 91.1 157.500 11 100 uxga 1600 1200 60 75.0 162.000 11 100 65 81.3 175.500 11 100 70 87.5 189.000 11 101 75 93.8 202.500 11 101 85 106.3 229.500 * 10 110 qxga 2048 1536 60 260.000 * 11 100 2048 1536 75 315.000 * 11 100 * graphics sampled at 1/2 the incoming pixel rate using alternate pixel sampling mode.
rev. a ad9888 C12C 4. the 5-bit phase adjust register. the phase of the generated sampling clock may be shifted to locate an optimum sampling point within a clock cycle. the phase adjust register provides 32 phase-shift steps of 11.25 each. the hsync signal with an identical phase shift is available through the hsout pin. phase adjustment is still available if the pixel clock is being provided externally. the coast pin is used to allow the pll to continue to run at the same frequency, in the absence of the incoming hsync signal. this may be used during the vertical sync period, or any other time that the hsync signal is unavailable. the polarity of the coast signal may be set through the coast polarity register. also, the polarity of the hsync signal may be set through the hsync polarity register. alternate pixel sampling mode a logic 1 input on clock invert (ckinv, pin 29) inverts the nominal adc clock. ckinv can be switched between frames to implement the alternate pixel sampling mode. this allows higher effective image resolution to be achieved at lower pixel rates but with lower frame rates. oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe figure 7. odd and even pixels in a frame on one frame, only even pixels are digitized. on the subsequent frame, odd pixels are sampled. by reconstructing the entire frame in the graphics controller, a complete image can be reconstructed. this is similar to the interlacing process that is employed in broadcast television systems, but the interlacing is vertical instead of horizontal. the frame data is still presented to the display at the full desired refresh rate (usually 60 hz) so there are no flicker artifacts added. o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 figure 8. odd pixels from frame 1 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 figure 9. even pixels from frame 2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 figure 10. combined frame output from graphics controller o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 figure 11. subsequent frame from controller
rev. a ad9888 C13C timing the following timing diagrams show the operation of the ad9888 analog interface in all clock modes. the part establishes timing by having the sample that corresponds to the pixel digitized when the leading edge of hsync occurs sent to the a data port. in dual-channel mode, the next sample is sent to the b port. future samples are alternated between the a and b data ports. in single-channel mode, data is only sent to the a data port, and the b port is placed in a high impedance state. the output data clock signal is created so that its rising edge always occurs between a data transitions, and can be used to latch the output data externally. datack datack data hsout t per t dcycle t skew figure 12. output timing hsync timing horizontal sync is processed in the ad9888 to eliminate ambiguity in the timing of the leading edge with respect to the phase-delayed pixel clock and data. the hsync input is used as a reference to generate the pixel sampling clock. the sampling phase can be adjusted, with respect to hsync, through a full 360 in 32 steps via the phase adjust register (to optimize the pixel sampling time). display systems use hsync to align memory and display write cycles, so it is important to have a stable timing relationship between hsync output (hsout) and data clock (datack). three things happen to horizontal sync in the ad9888. first, the polarity of hsync input is determined and will thus have a known output polarity. the known output polarity can be pro- grammed either active high or active low (register 0eh, bit 5). second, hsout is aligned with datack and data outputs. third, the duration of hsout (in pixel clocks) is set via regis- ter 07h. hsout is the sync signal that should be used to drive the rest of the display system. coast timing in most computer systems, the hsync signal is provided con- tinuously on a dedicated wire. in these systems, the coast input and function are unnecessary, and should not be used. in some systems, however, hsync is disturbed during the verti- cal sync period (vsync). in some cases, hsync pulses disappear. in other systems, such as those that employ composite sync (csync) signals or embedded sync-on-green (sog), hsync includes equalization pulses or other distortions during vsync. to avoid upsetting the clock generator during vsync, it is impor- tant to ignore these distortions. if the pixel clock pll sees extraneous pulses, it will attempt to lock to this new frequency, and will have changed frequency by the end of the vsync period. it will then take a few lines of correct hsync timing to recover at the beginning of a new frame, resulting in a tearing of the image at the top of the display. the coast input is provided to eliminate this problem. it is an asynchronous input that disables the pll input and allows the clock to free-run at its then-current frequency. the pll can free-run for several lines without significant frequency drift.
rev. a ad9888 C14C 8 pipe delay p0 p1 p2 p3 p4 p5 p6 p7 d0 d1 d2 d3 d4 rgbin hsync pxck hs adcck datack douta hsout variable duration figure 13. single-channel mode p0 p1 p2 p3 p4 p5 p6 p7 d0 d2 d4 d6 8 pipe delay rgbin hsync pxck hs adcck datack douta hsout variable duration figure 14. single-channel mode, two pixels/clock (even pixels) p0 p1 p2 p3 p4 p5 p6 p7 d1 d3 d5 d7 8.5 pipe delay rgbin hsync pxck hs adcck datack douta hsout variable duration figure 15. single-channel mode, two pixels/clock (odd pixels)
rev. a ad9888 C15C p0 p1 p2 p3 p4 p5 p6 p7 7 pipe delay d0 d2 d4 d1 d3 d5 rgbin hsync pxck hs adcck datack douta hsout doutb variable duration figure 16. dual-channel mode, interleaved outputs p0 p1 p2 p3 p4 p5 p6 p7 8 pipe delay d3 d5 rgbin hsync pxck hs adcck datack douta hsout doutb d0 d2 d4 d1 variable duration figure 17. dual-channel mode, parallel outputs p0 p1 p2 p3 p4 p5 p6 p7 7 pipe delay d0 d4 d2 d6 rgbin hsync pxck hs adcck datack douta hsout doutb variable duration figure 18. dual-channel mode, interleaved outputs, two pixels/clock (even pixels)
rev. a ad9888 C16C p0 p1 p2 p3 p4 p5 p6 p7 7.5 pipe delay d3 d7 d1 d5 rgbin hsync pxck hs adcck datack douta hsout doutb variable duration figure 19. dual-channel mode, interleaved outputs, two pixels/clock (odd pixels) p0 p1 p2 p3 p4 p5 p6 p7 8 pipe delay d0 rgbin hsync pxck hs adcck datack douta hsout doutb d2 d6 d4 variable duration figure 20. dual-channel mode, parallel outputs, two pixels/clock (even pixels) p0 p1 p2 p3 p4 p5 p6 p7 6.5 pipe delay d1 d5 rgbin hsync pxck hs adcck datack gouta hsout routa d3 d7 variable duration figure 21. dual-channel mode, parallel outputs, two pixels/clock (odd pixels)
rev. a ad9888 C17C 8 pipe delay p0 p1 p2 p3 p4 p5 p6 p7 u0 v1 u2 v3 u4 rgbin hsync pxck hs adcck datack routa hsout y0 y1 y2 y3 y4 gouta variable duration figure 22. 4:2:2 output mode 2-wire serial register map the ad9888 is initialized and controlled by a set of registers, which determine the operating modes. an external controller is employed to write and read the control registers through the 2-line serial interface port. table v. control register map read and hex write or default address read only bits value register name function 00h ro 7:0 chip revision an 8-bit register which represents the silicon revision level. revision 0 = 0000 0000. 01h r/ w 7:0 01101001 pll div msb this register is for bits [11:4] of the pll divider. larger values mean the pll operates at a faster rate. this register should be loaded first whenever a change is needed. (this will give the pll more time to lock.) see note 1. 02h r/ w 7:4 1101 **** pll div lsb bits [7:4] lsbs of the pll divider word. see note 1. 03h r/ w 7:2 01 ****** vco/cpmp bits [7:6] vco range. selects vco frequency range. (see pll description.) ** 001 *** bits [5:3] charge pump current. varies the current that drives the low- pass filter. (see pll description.) 04h r/ w 7:3 10000 *** phase adjust adc clock phase adjustment. larger values mean more delay. (1 lsb = t/32) 05h r/ w 7:0 00001000 clamp placement places the clamp signal an integer number of clock periods after the trail- ing edge of the hsync signal. 06h r/ w 7:0 00010100 clamp duration number of clock periods that the clamp signal is actively clamping. 07h r/ w 7:0 00100000 hsync output sets the number of pixel clocks that hsout will remain active. pulsewidth 08h r/ w 7:0 10000000 red gain controls adc input range (contrast) of each respective channel. bigger values give less contrast. 09h r/ w 7:0 10000000 green gain 0ah r/ w 7:0 10000000 blue gain 0bh r/ w 7:1 1000000 * red offset controls dc offset (brightness) of each respective channel. bigger values decrease brightness. 0ch r/ w 7:1 1000000 * green offset 0dh r/ w 7:1 1000000 * blue offset
rev. a ad9888 C18C table v. control register map (continued) read and hex write or default address read only bits value register name function 0eh r/ w 7:0 0 ******* sync control bit 7hsync polarity override. (logic 0 = polarity determined by chip, logic 1 = polarity set by bit 6 in register 0eh.) * 1 ****** bit 6hsync input polarity. indicates to the pll the polarity of the incom- ing hsync signal. (logic 0 = active low, logic 1 = active high.) ** 0 ***** bit 5hsync output polarity. (logic 0 = logic high sync, logic 1 = logic low sync). *** 0 **** bit 4active hsync override. if set to logic 1, the user can select the hsync to be used via bit 3. if set to logic 0, the active interface is selected via bit 6 in register 14h. **** 0 *** bit 3active hsync select. logic 0 selects hsync as the active sync. logic 1 selects sync-on-green as the active sync. note: the indicated hsync will be used only if bit 4 is set to logic 1 or if both syncs are active (bits 1, 7 = logic 1 in register 14h). ***** 0 ** bit 2vsync output invert. (logic 0 = no invert, logic 1 = invert.) ****** 0 * bit 1active vsync override. if set to logic 1, the user can select the vsync to be used via bit 0. if set to logic 0, the active interface is selected via bit 3 in register 14h. ******* 0 bit 0active vsync select. logic 0 selects raw vsync as the output vsync. logic 1 selects sync separated vsync as the output vsync. note: the indi- cated vsync will be used only if bit 1 is set to logic 1. 0fh r/ w 7:1 0 ******* bit 7clamp function. chooses between hsync for clamp signal or an- other external signal to be used for clamping. (logic 0 = hsync, logic 1 = clamp.) * 1 ****** bit 6clamp polarity. valid only with external clamp signal. (logic 0 = active high, logic 1 selects active low.) ** 0 ***** bit 5coast select. logic 0 selects the coast input pin to be used for the pll coast. logic 1 selects vsync to be used for the pll coast. *** 0 **** bit 4coast polarity override. (logic 0 = polarity determined by chip, logic 1 = polarity set by bit 3 in register 0fh.) **** 1 *** bit 3coast polarity. changes polarity of external coast signal. (logic = 0 = active low, logic 1 = active high.) ***** 1 ** bit 2seek mode override. (logic 1 = allow low-power mode, logic 0 = disallow low-power mode.) ****** 1 * bit 1 pwrdn . full chip power down, active low. (logic 0 = full chip power down, logic 1 = normal.) 10h r/ w 7:3 01111 *** sync-on-green sync-on-green threshold C sets the voltage level of the sync-on-green threshold slicers comparator. ***** 0 ** bit 2red clamp select C logic 0 selects clamp to ground. logic 1 selects clamp to midscale (voltage at pin 9). ****** 0 * bit 1blue clamp select C logic 0 selects clamp to ground. logic 1 selects clamp to midscale (voltage at pin 24). ******* 0 bit 0must be set to 1 for proper operation. 11h r/ w 7:0 00100000 sync separator sync separator threshold C sets how many internal 5 mhz clock periods the threshold sync separator will count to before toggling high or low. this should be set to some number greater than the maximum hsync or equalization pulsewidth. 12h r/ w 7:0 00000000 pre-coast pre-coast C sets the number of hsync periods that coast becomes active prior to vsync. 13h r/ w 7:0 00000000 post-coast post-coast C sets the number of hsync periods that coast stays active following vsync.
rev. a ad9888 C19C table v. control register map (continued) read and hex write or default address read only bits value register name function 14h ro 7:0 sync detect bit 7hsync detect. it is set to logic 1 if hsync is present on the analog interface, else it is set to logic 0. bit 6ahs: active hsync. this bit indicates which analog hsync is being used. (logic 0 = hsync input pin, logic 1 = hsync from sync-on-green.) bit 5in put hsync polarity detect. (logic 0 = active low, logic 1 = active high.) bit 4vsync detect. it is set to logic 1 if vsync is present on the analog interface, else it is set to logic 0. bit 3avs: active vsync. this bit indicates which analog vsync is being used. (logic 0 = vsync input pin, logic 1 = vsync from sync separator.) bit 2output vsync polarity detect. (logic 0 = active low, logic 1 = active high.) bit 1sync-on-green detect. it is set to logic 1 if sync is present on the green video input, else it is set to 0. bit 0input coast polarity detect. (logic 0 = active low, logic 1 = active high.) 15h r/ w 7:0 1 ******* bit 7channel mode. determines single-channel or dual-channel output mode. (logic 0 = single-channel mode, logic 1 = dual-channel mode.) * 1 ****** bit 6output mode. determine interleaved or parallel output mode. (logic 0 = interleaved mode, logic 1 = parallel mode.) ** 0 ***** bit 5a/b invert. determines which port outputs the first data byte after hsync. (logic 0 = a port, logic 1 = b port.) *** 0 **** bit 44:2:2 output formatting mode. **** 0 *** bit 3input mux control. ***** 11 * bits [2:1]input bandwidth. ******* 0 bit 0external clock. shuts down pll and allows external clock to drive the part. (logic 0 = use internal pll, logic 1 = bypassing of the internal pll.) 16h r/ w 7:0 11111111 test register must be set to 11111110 for proper operation. 17h r/ w 7:3 00000000 test register must be set to default for proper operation. 18h ro 7:0 test register 19h ro 7:0 test register note 1. the ad9888 only updates the pll divide ratio when the lsbs are written to (register 02h).
rev. a ad9888 C20C 2-wire serial control register detail chip identification 00 7-0 chip revision an 8-bit register that represents the silicon revision. revision 0 = 0000 0000, revision 1 = 0000 0001. pll divider control 01 7-0 pll divide ratio msbs the eight most significant bits of the 12-bit pll divide ratio plldiv. (the operational divide ratio is plldiv + 1.) the pll derives a master clock from an incoming hsync signal. the master clock frequency is then divided by an integer value, such that the output is phase-locked to hsync. this plldiv value determines the number of pixel times (pixels plus horizontal blanking overhead) per line. this is typically 20% to 30% more than the number of active pixels in the display. the 12-bit value of the pll divider supports divide ratios from 2 to 4095. the higher the value loaded in this regis- ter, the higher the resulting clock frequency with respect to a fixed hsync frequency. vesa has established standard timing specifications, which will assist in determining the value for plldiv as a func- tion of horizontal and vertical display resolution and frame rate (table iv). however, many computer systems do not conform pre- cisely to the recommendations, and these numbers should be used only as a guide. the display system manufacturer should provide automatic or manual means for optimizing plldiv. an incorrectly set plldiv will usually produce one or more vertical noise bars on the display. the greater the error, the greater the number of bars produced. the power-up default value of plldiv is 1693 (plldivm = 69h, plldivl = dxh). the ad9888 updates the full divide ratio only when the lsbs are changed. writing to this register by itself will not trigger an update. 02 7-4 pll divide ratio lsbs the four least significant bits of the 12-bit pll divide ratio plldiv. the operational divide ratio is plldiv + 1. the power-up default value of plldiv is 1693 (plldivm = 69h, plldivl = dxh). the ad9888 updates the full divide ratio only when this register is written to. clock generator control 03 7-6 vco range select two bits that establish the operating range of the clock generator. vcornge must be set to correspond with the desired operating frequency (incoming pixel rate). the pll gives the best jitter performance at high fre- quencies. for this reason, in order to output low pixel rates and still get good jitter performance, the pll actu- ally operates at a higher frequency but then divides down the clock rate afterwards. table vi shows the pixel rates for each vco range setting. the pll output divisor is automatically selected with the vco range setting. table vi. vco ranges vcornge pixel rate range 00 10C45 01 45C90 10 90C150 11 150+ the power-up default value is 01. 03 5-3 charge pump current three bits that establish the current driving the loop filter in the clock generator. table vii. charge pump currents current current (  a) 000 50 001 100 010 150 011 250 100 350 101 500 110 750 111 1500 current must be set to correspond with the desired operating frequency (incoming pixel rate). the power-up default value is current = 001. 04 7-3 clock phase adjust a five-bit value that adjusts the sampling phase in 32 steps across one pixel time. each step represents an 11.25 shift in sampling phase. the power-up default value is 16. clamp timing 05 7-0 clamp placement an 8-bit register that sets the position of the internally generated clamp. when the external clamp control bit is set to 0, a clamp signal is generated internally, at a position established by the clamp placement and for a duration set by the clamp duration. clamping is started (clamp placement) pixel periods after the trailing edge of hsync. the clamp place- ment may be programmed to any value up to 255, except 0. the clamp should be placed during a time that the input signal presents a stable black-level reference, usually the back porch period between hsync and the image. when the external clamp control bit is set to 1, this regis- ter is ignored. 06 7-0 clamp duration an 8-bit register that sets the duration of the internally generated clamp. when the external clamp control bit is set to 0, a clamp signal is generated internally, at a position established by the clamp placement and for a duration set by the clamp duration. clamping is started (clamp placement) pixel periods after the trailing edge of hsync, and continues for (clamp duration) pixel periods. the clamp duration may
rev. a ad9888 C21C be programmed to any value between 1 and 255. a value of 0 is not supported. for the best results, the clamp duration should be set to include the majority of the black reference signal time that follows the hsync signal trailing edge. insufficient clamp- ing time can produce brightness changes at the top of the screen, and a slow recovery from large changes in the average picture level (apl), or brightness. when the external clamp control bit is set to 1, this regis- ter is ignored. hsync pulsewidth 07 7-0 hsync output pulsewidth an 8-bit register that sets the duration of the hsync output pulse. the leading edge of the hsync output is triggered by the internally generated, phase-adjusted pll feedback clock. the ad9888 then counts a number of pixel clocks equal to the value in this register. this triggers the trailing edge of the hsync output, which is also phase-adjusted. input gain 08 7-0 red channel gain adjust an 8-bit word that sets the gain of the red channel. the ad9888 can accommodate input signals with a full-scale range of between 0.5 v and 1.0 v p-p. set ting redgain to 255 corresponds to an input range of 1.0 v. a redgain of 0 establishes an input range of 0.5 v. note that increasing redgain results in the picture having less contrast (the input signal uses fewer of the available converter codes). see figure 2. 09 7-0 green channel gain adjust an 8-bit word that sets the gain of the green channel. see redgain (08). 0a 7-0 blue channel gain adjust an 8-bit word that sets the gain of the blue channel. see redgain (08). input offset 0b 7-1 red channel offset adjust a 7-bit offset binary word that sets the dc offset of the red channel. one lsb of offset adjustment equals ap proximately one lsb change in the adc offset. there fore, the absolute magnitude of the offset adjustment scales as the gain of the channel is changed. a nominal setting of 63 results in the channel nominally clamping the back porch (during the clamping interval) to code 00. an offset setting of 127 results in the channel clamping to code 64 of the adc. an offset setting of 0 clamps to code C63 (off the bottom of the range). increasing the value of red offset decreases the brightness of the channel. 0c 7-1 green channel offset adjust a 7-bit offset binary word that sets the dc offset of the green channel. see redofst (0b). 0d 7-1 blue channel offset adjust a 7-bit offset binary word that sets the dc offset of the blue channel. see redofst (0b). 0e 7 hsync input polarity override this register is used to override the internal circuitry that determines the polarity of the hsync signal going into the pll. table viii. hsync input polarity override settings override bit result 0 hsync polarity determined by chip 1 hsync polarity determined by user the default for hsync polarity override is 0 (polarity determined by chip). 0e 6 hspol hsync input polarity a bit that must be set to indicate the polarity of the hsync signal that is applied to the pll hsync input. table ix. hsync input polarity settings hspol function 0 active low 1 active high active low means the leading edge of the hsync pulse is negative-going. all timing is based on the leading edge of hsync, which is the falling edge. the rising edge has no effect. active high means the leading edge of the hsync pulse is positive-going. this means that timing will be based on the leading edge of hsync, which is now the rising edge. the device will operate if this bit is set incorrectly, but the internally generated clamp position, as established by clamp placement (register 05h), will not be placed as expected, which may generate clamping errors. the power-up default value is hspol = 1. 0e 5 hsync output polarity one bit that determines the polarity of the hsync output and the sog output. table x shows the effect of this option. sync indicates the logic state of the sync pulse. table x. hsync output polarity settings setting sync 0 logic 1 (positive polarity) 1 logic 0 (negative polarity) the default setting for this register is 0. 0e 4 active hsync override this bit is used to override the automatic hsync selection. to override, set this bit to logic 1. when overriding, the active hsync is set via bit 3 in this register.
rev. a ad9888 C22C table xi. active hsync override settings override result 0 auto determines the active interface. 1 override, bit 3 determines the active interface. the default for this register is 0. 0e 3 active hsync select this bit is used under two conditions. it is used to select the active hsync when the override bit is set (bit 4). al ter- nately, it is used to determine the active hsync when not overriding but both hsyncs are detected. table xii. active hsync select settings select result 0 hsync input 1 sync-on-green input the default for this register is 0. 0e 2 vsync output invert a bit that inverts the polarity of the vsync output. table xiii shows the effect of this option. table xiii. vsync output polarity settings setting sync 1 invert 0 dont invert the default setting for this register is 0. 0e 1 active vsync override this bit is used to override the automatic vsync selection. to override, set this bit to logic 1. when overriding, the active interface is set via bit 0 in this register. table xiv. active vsync override settings override result 0 auto determines the active vsync. 1 override, bit 0 determines the active vsync. the default for this register is 0. 0e 0 active vsync select this bit is used to select the active vsync when the over- ride bit is set (bit 1). table xv. active vsync select settings select result 0 vsync input 1 sync separator output the default for this register is 0. 0f 7 clamp input signal source a bit that determines the source of clamp timing. table xvi. clamp input signal source settings external clamp function 0 internally generated clamp 1 externally provided clamp signal a 0 enables the clamp timing circuitry controlled by clamp placement and clamp duration. the clamp position and duration is counted from the leading edge of hsync. a 1 enables the external clamp input pin. the three channels are clamped when the clamp signal is active. the polarity of clamp is determined by the clamp polarity bit (register 0fh, bit 6). the power-up default value is external clamp = 0. 0f 6 clamp input signal polarity a bit that determines the polarity of the externally pro- vided clamp signal. table xvii. clamp input signal polarity settings clamp polarity function 1 active low 0 active high a logic 1 means that the circuit will clamp when clamp is low, and it will pass the signal to the adc when clamp is high. a logic 0 means that the circuit will clamp when clamp is high, and it will pass the signal to the adc when clamp is low. the power-up default value is clamp polarity = 1. 0f 5 coast select this bit is used to select the active coast source. the choices are the coast input pin or vsync. if vsync is selected, the additional decision of using the vsync input pin or the output from the sync separator needs to be made (register 0e, bits 1, 0). table xviii. coast source selection settings select result 0 coast input pin 1 vsync (see above text.) the default for this register is 0. 0f 4 coast input polarity override this register is used to override the internal circuitry that determines the polarity of the coast signal going into the pll. table xix. coast input polarity override settings override bit result 0 coast polarity determined by chip 1 coast polarity determined by user the default for coast polarity override is 0.
rev. a ad9888 C23C 0f 3 coast input polarity a bit to indicate the polarity of the coast signal that is applied to the pll coast input. table xx. coast input polarity settings cstpol function 0 active low 1 active high active low means that the clock generator will ignore hsync inputs when coast is low, and continue operating at the same nominal frequency until coast goes high. active high means that the clock generator will ignore hsync inputs when coast is high, and continue operating at the same nominal frequency until coast goes low. this function needs to be used along with the coast polarity override bit (bit 4). the power-up default value is cstpol = 1. 0f 2 seek mode override this bit is used to either allow or disallow the low-power mode. the low-power mode (seek mode) occurs when there are no signals on any of the sync inputs. table xxi. seek mode override settings select result 1 allow seek mode 0 disallow seek mode the default for this register is 1. 0f 1 pwrdn this bit is used to put the chip in power-down mode. in this mode the chips power dissipation is reduced to a fraction of the typical power (see the electrical characteristics table for exact power dissipation). when in power-down, the hsout, vsout, datack, datack , and all 48 of the data outputs are put into a high impedance state. (note: the sogout output is not put into high imped- ance.) circuit blocks that continue to be active during power-down include the voltage references, sync process- ing, sync detection, and the serial register. these blocks facilitate a fast start-up from power-down. table xxii. power-down settings select result 0 power-down 1 normal operation the default for this register is 1. 10 7-3 sync-on-green slicer threshold this register allows the comparator threshold of the sync- on-green slicer to be adjusted. this register adjusts it in steps of 10 mv, with the minimum setting equaling 10 mv and the maximum setting equaling 330 mv. the default setting is 15 and corresponds to a threshold value of 0.16 v. 10 2 red clamp select a bit that determines whether the red channel is clamped to ground or to midscale. for rgb video, all three chan- nels are referenced to ground. for ycbcr (or yuv), the y channel is referenced to ground, but the cbcr channels are referenced to midscale. clamping to midscale actually clamps to pin 9. table xxiii. red clamp select settings clamp function 0 clamp to ground 1 clamp to midscale (pin 9) the default setting for this register is 0. 10 1 blue clamp select a bit that determines whether the blue channel is clamped to ground or to midscale. clamping to midscale actually clamps to pin 24. table xxiv. blue clamp select settings clamp function 0 clamp to ground 1 clamp to midscale (pin 24) the default setting for this register is 0. 11 7:0 sync separator threshold this register is used to set the responsiveness of the sync separator. it sets how many internal 5 mhz clock periods the sync separator must count to before toggling high or low. it works like a low-pass filter to ignore hsync pulses in order to extract the vsync signal. this register should be set to some number greater than the maximum hsync pulsewidth. note: the sync separator threshold uses an internal dedicated clock with a frequency of approxi- mately 5 mhz. the default for this register is 32. 12 7-0 pre-coast this register allows the coast signal to be applied prior to the vsync signal. this is necessary in cases where pre- equalization pulses are present. the step size for this control is one hsync period. the default is 0. 13 7-0 post-coast this register allows the coast signal to be applied following to the vsync signal. this is necessary in cases where post-equalization pulses are present. the step size for this control is one hsync period. the default is 0.
rev. a ad9888 C24C 14 7 hsync detect this bit is used to indicate when activity is detected on the selected hsync input pin. if hsync is held high or low, activity will not be detected. table xxv. hsync detection results detect function 0 no activity detected 1 activity detected the sync processing block diagram shows where this function is implemented. 14 6 ahs ?active hsync this bit indicates which hsync input source is being used by the pll (hsync input or sync-on-green). bits 7 and 1 in this register are what determine which source is used. if both hsync and sog are detected, the user can determine which has priority via bit 3 in register 0eh. the user can override this function via bit 4 in register 0eh. if the override bit is set to logic 1, then this bit will be forced to whatever the state of bit 3 in register 0eh is set to. table xxvi. active hsync results bit 7 bit 1 bit 4, reg (hsync (sog oeh detect) detect) (override) ahs 0 0 0 bit 3 in 0eh 010 1 100 0 1 1 0 bit 3 in 0eh x x 1 bit 3 in 0eh ahs = 0 means use the hsync pin input for hsync. ahs = 1 means use the sog pin input for hsync. the override bit is in register 0eh, bit 4. 14 5 detected hsync input polarity status this bit reports the status of the hsync input polarity detection circuit. it can be used to determine the polarity of the hsync input. the detection circuits location is shown in the sync processing block diagram (figure 25). table xxvii. detected hsync input polarity status hsync polarity status result 0 hsync polarity is negative. 1 hsync polarity is positive. 14 4 vsync detect this bit is used to indicate when activity is detected on the selected vsync input pin. if vsync is held high or low, activity will not be detected. table xxviii. vsync detection results detect function 0 no activity detected 1 activity detected the sync processing block diagram (figure 25) shows where this function is implemented. 14 3 avs ?active vsync this bit indicates which vsync source is being used; the vsync input or the output from the sync separator. bit 4 in this register is what determines which is active. if both vsync and sog are detected, the user can determine which has priority via bit 0 in register 0eh. the user can override this function via bit 1 in register 0eh. if the override bit is set to logic 1, this bit will be forced to whatever the state of bit 0 in register 0eh is set to. table xxix. active vsync results bit 5 (vsync detect) override avs 001 100 x 1 bit 0 in 0eh avs = 1 means sync separator. avs = 0 means vsync input. the override bit is in register 0eh, bit 1. 14 2 detected vsync output polarity status this bit reports the status of the vsync output polarity detection circuit. it can be used to determine the polarity of the vsync input. the detection circuits location is shown in the sync processing block diagram (figure 25). table xxx. detected vsync input polarity status vsync polarity status result 0 vsync polarity is active low 1 vsync polarity is active high 14 1 sync-on-green detect this bit is used to indicate when sync activity is detected on the selected sync-on-green input pin. table xxxi. sync-on-green detection results detect function 0 no activity detected 1 activity detected the sync processing block diagram (figure 25) shows where this function is implemented. 14 0 detected coast polarity status this bit reports the status of the coast input polarity de- tection circuit. it can be used to determine the polarity of the coast input. the detection circuits location is shown in figure 25. table xxxii. detected coast input polarity status hsync polarity status result 0 coast polarity is negative. 1 coast polarity is positive.
rev. a ad9888 C25C mode control 1 15 7 channel mode a bit that determines whether all pixels are presented to a single port (a), or alternating pixels are demultiplexed to ports a and b. table xxxiii. channel mode settings demux function 0 all data goes to port a. 1 alternate pixels go to port a and port b. when demux = 0, port b outputs are in a high- impedance state. the maximum data rate for single-port mode is 110 mhz. the timing diagrams starting with figure 13 show the effects of this option. the power-up default value is 1. 15 6 output mode a bit that determines whether all pixels are presented to port a and port b simultaneously on every second datack rising edge, or alternately on port a and port b on successive datack rising edges. table xxxiv. output mode settings parallel function 0 data is interleaved. 1 data is simultaneous on every other data clock. when in single port mode (demux = 0), this bit is ignored. the timing diagrams (f igure 17) show the effects of this option. the power-up default value is parallel = 1. 15 5 output port phase one bit that determines whether even pixels or odd pixels go to port a. table xxxv. output port phase settings outphase first pixel after hsync 0 port a 1 port b in normal operation (outphase = 0), when operating in dual-port output mode (demux = 1), the first sample after the hsync leading edge is presented at port a. every subsequent odd sample appears at port a. all even samples go to port b. when outphase = 1, these ports are reversed and the first sample goes to port b. when demux = 0, this bit is ignored as data always comes out of only port a. 15 4 4:2:2 output mode select a bit that configures the output data in 4:2:2 mode. this mode can be used to reduce the number of data lines used from 24 down to 16 for applications using yuv, ycbcr, or ypbpr graphics signals. a timing diagram for this mode is shown in figure 12. recommended input and output configurations are shown in table xxxvii. in 4:2:2 mode, the red and blue channels can be interchanged to help satisfy board layout or timing requirements, but the green channel must be configured for y. table xxxvi. 4:2:2 output mode select select output mode 0 4:4:4 1 4:2:2 table xxxvii. 4:2:2 input/output configuration channel input connection output format red v u/v green y y blue u high impedance 15 3 input mux control a bit that selects either analog inputs from channel 0 or the analog inputs from channel 1. table xxxviii. input mux control control channel selected 0 channel 0 1 channel 1 15 2-1 analog bandwidth control two bits that select the analog bandwidth. table xxxix. analog bandwidth control bit 2 bit 1 analog bandwidth 1 1 500 mhz 1 0 300 mhz 0 1 150 mhz 0 0 75 mhz 15 0 external clock select a bit that determines the source of the pixel clock. table xl. external clock select settings extclk function 0 internally generated clock 1 externally provided clock signal a logic 0 enables the internal pll that generates the pixel clock from an externally provided hsync. a logic 1 enables the external ckext input pin. in this mode, the pll divide ratio (plldiv) is ignored. the clock phase adjust (phase) is still functional. the power-up default value is extclk = 0.
rev. a ad9888 C26C 2-wire serial control port a 2-wire serial interface control interface is provided. up to two ad9888 devices may be connected to the 2-wire serial interface, with each device having a unique address. the 2-wire serial interface comprises a clock (scl) and a bidirec- tional data (sda) pin. the ad9888 acts as a slave for receiving and transmitting data over the serial interface. when the serial interface is not active, the logic levels on scl and sda are pulled high by external pull-up resistors. data received or transmitted on the sda line must be stable for the duration of the positive-going scl pulse. data on sda must change only when scl is low. if sda changes state while scl is high, the serial interface interprets that action as a start or stop sequence. there are six components to serial bus operation: start signal slave address byte base register address byte data byte to read or write stop signal when the serial interface is inactive (scl and sda are high), communications are initiated by sending a start signal. the start signal is a high-to-low transition on sda while scl is high. this signal alerts all slaved devices that a data transfer sequence is coming. the first eight bits of data transferred after a start signal comprise a 7-bit slave address (the first seven bits) and a single r/ w bit (the eighth bit). the r/ w bit indicates the direction of data transfer, read from (1) or write to (0) the slave device. if the transmitted slave address matches the address of the device (set by the state of the a 0 input pin in table xli), the ad9888 ac knowledges by bringing sda low on the ninth scl pulse. if the addresses do not match, the ad9888 does not acknowledge table xli. serial port addresses bit 7 (msb) bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 a 6 a 5 a 4 a 3 a 2 a 1 a 0 1 0 01100 1 0 01101 data transfer via serial interface for each byte of data read or written, the msb is the first bit of the sequence. if the ad9888 does not acknowledge the master device during a write sequence, the sda remains high so the master can generate a stop signal. if the master device does not acknowledge the ad9888 during a read sequence, the ad9888 interprets this as end of data. the sda remains high so the master can generate a stop signal. writing data to specific control registers of the ad9888 requires that the 8-bit address of the control register of interest be writ- ten after the slave address has been established. this control register address is the base address for subsequent write opera- tions. the base address autoincrements by one for each byte of data written after the data byte intended for the base address. if more bytes are transferred than there are available addresses, the address will not increment and remain at its maximum value of 19h. any base address higher than 19h will not produce an acknowledge signal. data are read from the control registers of the ad9888 in a similar manner. reading requires two data transfer operations. the base address must be written with the r/ w bit of the slave address byte low to set up a sequential read operation. reading (the r/ w bit of the slave address byte high) begins at the previously established base address. the address of the read register autoincrements after each byte is transferred. to terminate a read/write sequence to the ad9888, a stop sig- nal must be sent. a stop signal comprises a low-to-high transition of sda while scl is high. a repeated start signal occurs when the master device driving the serial interface generates a start signal without first generat- ing a stop signal to terminate the current communication. this is used to change the mode of communication (read, write) between the slave and master without releasing the serial inter- face lines. serial interface read/write examples write to one control register start signal slave address byte (r/ w bit = low) base address byte data byte to base address stop signal write to four consecutive control registers start signal slave address byte (r/ w bit = low) base address byte data byte to base address data byte to (base address + 1) data byte to (base address + 2) data byte to (base address + 3) stop signal read from one control register start signal slave address byte (r/ w bit = low) base address byte start signal slave address byte (r/ w bit = high) data byte from base address stop signal read from four consecutive control registers start signal slave address byte (r/ w bit = low) base address byte start signal slave address byte (r/ w bit = high) data byte from base address data byte from (base address + 1) data byte from (base address + 2) data byte from (base address + 3) stop signal
rev. a ad9888 C27C sync processing table xlii. control of the sync block muxes via the serial register mux serial bus control bit number(s) control bit state result 1 and 2 0eh: bit 3 0 pass hsync 1 pass sync-on-green 3 0fh: bit 5 0 pass coast 1 pass vsync 4 0eh: bit 0 0 pass vsync 1 pass sync separator signal 5 15h: bit 3 0 pass channel 0 inputs 1 pass channel 1 inputs sync slicer the purpose of the sync slicer is to extract the sync signal from the green graphics channel. a sync signal is not present on all graphics systems, only those with sync-on-green. the sync signal is extracted from the green channel in a two-step process. first, the sog input is clamped to its negative peak (typically 0.3 v below the black level). next, the signal goes to a comparator with a variable trigger level, nominally 0.15 v above the clamped level. the sliced sync is typically a composite sync signal containing both hsync and vsync. sync separator a sync separator extracts the vsync signal from a composite sync signal. it does this through a low-pass filter-like or integrator- like operation. it works on the idea that the vsync signal stays active for a much longer time than the hsync signal. so, it rejects any signal shorter than a threshold value, which is somewhere between an hsync pulsewidth and a vsync pulsewidth. the sync separator on the ad9888 is an 8-bit digital counter with a 5 mhz clock. it works independently of the polarity of the composite sync signal. (polarities are determined elsewhere on the chip.) the basic idea is that the counter counts up when hsync pulses are present. but since hsync pulses are relatively short in width, the counter only reaches a value of n before the pulse ends. it then starts counting down eventually reaching 0 before the next hsync pulse arrives. the specific value of n will vary for different video modes, but will always be less than 255. for example, with a 1 s width hsync, the counter will only reach 5 (1 s/200 ns = 5). now, when vsync is present on the composite sync, the counter will also count up. however, since the vsync signal is much longer, it will count to a higher num- ber m. for most video modes, m will be at least 255. so, vsync can be detected on the composite sync signal by detecting when the counter counts to higher than n. the specific count that triggers detection (t) can be programmed through the serial register (0fh). once vsync has been detected, there is a similar process to detect when it goes inactive. at detection, the counter first resets to 0, then starts counting up when vsync goes away. similar to the previous case, it will detect the absence of vsync when the counter reaches the threshold count (t). in this way, it will reject noise and/or serration pulses. once vsync is detected to be absent, the counter resets to 0 and begins the cycle again. pcb layout recommendations the ad9888 is a high-precision, high-speed analog device. to get the maximum performance out of the part, it is important to have a well laid-out board. the following is a guide for design- ing a board using the ad9888. analog interface inputs using the following layout techniques on the graphics inputs is extremely important. minimize the trace length running into the graphics inputs. this is accomplished by placing the ad9888 as close as possible to the graphics (vga) connector. long input trace lengths are undesirable because they will pick up more noise from the board and other external sources. place the 75 ? termination resistors (see figure 1) as close to the ad9888 chip as possible. any additional trace length between the termination resistors and the input of the ad9888 increases the magnitude of reflections, which will corrupt the graphics signal. use 75 ? matched impedance traces. trace impedances other than 75 ? will also increase the chance of reflections. the ad9888 has very high input bandwidth (500 mhz). while this is desirable for acquiring a high resolution pc graphics signal with fast edges, it means that it will also capture any high- frequency noise present. therefore, it is important to reduce the amount of noise that gets coupled to the inputs. avoid running any digital traces near the analog inputs. t buff t stah t dho t dal t dah t dsu t stasu t stosu scl sda figure 23. serial port read/write timing
rev. a ad9888 C28C scl bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ack sda figure 24. serial interfacetypical byte transfer sogin0 hsync0 coast mux2 sync slicer sogin1 hsync1 negative peak clamp comp sync sync separator sogout hsyncout vsyncout activity detect polarity detect polarity detect activity detect polarity detect mux3 mux4 clock generator mux5 mux5 activity detect mux1 integrator 1/s vsync0 vsync1 mux5 pixel clock vsync pll figure 25. sync processing block diagram the ad9888 can digitize graphics signals over a very wide range of frequencies (10 mhz to 205 mhz). often characteristics that are beneficial at one frequency can be detrimental at another. analog bandwidth is one such characteristic. for uxga resolu- tions (up to 205 mhz), a very high analog bandwidth is desirable because of the fast input signal slew rates. for vga and lower resolutions (down to 12.5 mhz), a very high bandwidth is not desirable, because it allows excess noise to pass through. to accommodate these varying needs, the ad9888 includes vari- able analog bandwidth control. four settings are available (75 mhz, 150 mhz, 300 mhz, and 500 mhz), allowing the analog bandwidth to be matched with the resolution of the incoming graphics signal. power supply bypassing it is recommended to bypass each power supply pin with a 0.1 f capacitor. the exception is in the case where two or more supply pins are adjacent to each other. for these groupings of powers/ grounds, it is only necessary to have one bypass capacitor. the fundamental idea is to have a bypass capacitor within about 0.5 cm of each power pin. also, avoid placing the capacitor on the opposite side of the pc board from the ad9888, as that interposes resistive vias in the path. the bypass capacitors should be physically located between the power plane and the power pin. current should flow from the power plane => capacitor => power pin. do not make the power connection between the capacitor and the power pin. placing a via underneath the capacitor pads, down to the power plane, is generally the best approach. it is particularly important to maintain low noise and good stability of pvd (the clock generator supply). abrupt changes in pvd can result in similarly abrupt changes in sampling clock phase and frequency. this can be avoided by careful attention to regulation, filtering, and bypassing. it is highly desirable to provide separate regulated supplies for each of the analog cir- cuitry groups (vd and pvd). some graphic controllers use substantially different levels of power when active (during active picture time) and when idle (during horizontal and vertical sync periods). this can result in a measurable change in the voltage supplied to the analog supply regulator, which can in turn produce changes in the regulated
rev. a ad9888 C29C analog supply voltage. this can be mitigated by regulating the analog supply, or at least pvd, from a different, cleaner, power source (for example, from a 12 v supply). it is also recommended to use a single ground plane for the entire board. experience has repeatedly shown that the noise performance is the same or better with a single ground plane. using multiple ground planes can be detrimental because each separate ground plane is smaller, and long ground loops can result. in some cases, using separate ground planes is unavoidable. for those cases, it is recommended to at least place a single ground plane under the ad9888. the location of the split should be at the receiver of the digital outputs. for this case it is even more important to place components wisely because the current loops will be much longer (current takes the path of least resistance). an example of a current loop: power plane => ad9888 => digital output trace => digital data receiver => digital ground plane => analog ground plane. pll place the pll loop filter components as close to the filt pin as possible. do not place any digital or other high-frequency traces near these components. use the values suggested in the data sheet with 10% tolerances or less. outputs (both data and clocks) try to minimize the trace length that the digital outputs have to drive. longer traces have higher capacitance, requiring more current and causing more internal digital noise. shorter traces reduce the possibility of reflections. adding a series resistor of value 50 ? C200 ? can suppress reflections, reduce emi, and reduce the current spikes inside the ad9888. if series resistors are used, place them as close to the ad9888 pins as possible (although try not to add vias or extra length to the output trace in order to get the resistors closer). if possible, limit the capacitance that each of the digital outputs drives to less than 10 pf. this can easily be accomplished by keeping traces short and by connecting the outputs to only one device. loading the outputs with excessive capacitance will increase the current transients inside of the ad9888 creating more digital noise on its power supplies. digital inputs the digital inputs on the ad9888 were designed to work with 3.3 v signals, but are tolerant of 5.0 v signals. so, no extra components need to be added if using 5.0 v logic. any noise that gets onto the hsync input trace will add jitter to the system. therefore, minimize the trace length and do not run any digital or other high-frequency traces near it. voltage reference bypass with a 0.1 f capacitor. place as close to the ad9888 pin as possible. make the ground connection as short as possible.
rev. a ad9888 C30C outline dimensions dimensions shown in inches and (mm). 128-lead plastic quad flatpack (mqfp) (s-128a) top view (pins down) 1 38 39 65 64 102 128 103 0.011 (0.27) 0.009 (0.22) 0.007 (0.17) 0.020 (0.50) bsc * 0.555 (14.10) 0.551 (14.00) 0.547 (13.90) 0.685 (17.40) 0.677 (17.20) 0.669 (17.00) 0.791 (20.10) 0.787 (20.00) 0.783 (19.90) 0.921 (23.40) 0.913 (23.20) 0.906 (23.00) seating plane 0.134 (3.40) max 0.041 (1.03) 0.035 (0.88) 0.031 (0.78) 0.003 (0.08) max 0.010 (0.25) min 0.110 (2.80) 0.106 (2.70) 0.102 (2.60) * the actual position of each lead is within 0.00315 (0.08) from its ideal position when measured in the lateral direction. center figures are typical unless otherwise noted. the controlling dimensions are in mm.
rev. a ad9888 C31C revision history location page data sheet changed from rev. 0 to rev. a. change to titlepart name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 change to pin function detail, ckinv section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 change to figure 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 change to figure 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 change to figure 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 change to figure 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 change to figure 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 change to figure 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 change to figure 21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 change to figure 22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
C32C c02442C0C2/02(a) printed in u.s.a.


▲Up To Search▲   

 
Price & Availability of AD9888PCB

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X